#include "prompts.h"

void MessageBox::setcontent(std::string newcontent) {
	content = newcontent;
}

std::string MessageBox::getcontent(void) {
	return content;
}

Response* MessageBox::update(TCOD_key_t key) {
	if(key.vk == TCODK_ENTER) {
		this->setBackgroundColor(TCODColor::white);
		this->rect(1, 1, width-2, height-2, true);
	}

	return new Response(false, "hi");
}

